
package nl.rainbowsheep.reisorg.empl.site.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.io.Serializable;
import java.util.Set;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * BurritoUser class
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class BurritoUser implements Serializable {

    private int id;

    @Size(min = 6, max = 30)
    private String username;

    @NotEmpty
    private String password;

    @NotEmpty
    private String passwordConfirm;

    private boolean enabled;

    private Set<BurritoRole> burritoUserRoles;

    public int getId() {
        return this.id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPasswordConfirm() {
        return passwordConfirm;
    }

    public void setPasswordConfirm(String passwordConfirm) {
        this.passwordConfirm = passwordConfirm;
    }

    public boolean isEnabled() {
        return this.enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public Set<BurritoRole> getBurritoUserRoles() {
        return burritoUserRoles;
    }

    public void setBurritoUserRoles(Set<BurritoRole> burritoUserRoles) {
        this.burritoUserRoles = burritoUserRoles;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

}
